RiverSync
SPEC-DWF-SAL · v0.4
28 June 2026
Owner: Platform team

Sales pipeline — data workflows

DraftSPEC-DWF-SAL
Drill-down of the data-workflow map. Entities are defined in the ERD; events & ownership in the DDD drill-down; the lifecycle rules trace to the platform requirements (LIF-1…4). Renders from dwf/dwf-catalog.js.

1Reading the diagrams

Each entity is a state machine: a green entry arrow marks creation, boxes are states (tone = kind), arrows are transitions. The table beneath spells the operation, the actor, and the event · rule · process behind every transition.

2Entity lifecycles

3Lifecycle rules in play

The data-workflow invariants that bind this context — the master holds the full set.

4Revision history

VersionDateChanges
0.127 Jun 2026First draft — Sales pipeline entity lifecycles mapped as part of the new SPEC-DWF set: states, transitions and the event · rule · process behind each, all from the central catalog.
0.328 Jun 2026CRM front of the funnel added. Four new entity lifecycles in this context — Contact (prospect → active → dormant / disqualified, with the contact.bridged conversion bridge), Lead (new → working → qualified → converted / disqualified, with tier-gated partner sharing), Opportunity (exploring → solutioning → validated → confirmed / declined) and Activity (logged → void) — and a second Deal create-edge from opportunity.confirmed (the reseller-registration edge is unchanged). New rules DWF-9 (one-way contact→lead→opportunity→deal chain) and DWF-10 (tenancy bridge). Rides the new Lead to opportunity process (SPEC-PWF-L2O). Cascades from SPEC-PRD SAL-1…8 / SPEC-ERD DM-43…52.
0.428 Jun 2026Communications inbox lifecycle added. New Conversation entity (draft → open → junk / archived / deleted), with the folder transitions driven by message.received · message.sent · conversation.foldered — junk/deleted reversible soft states, deleted retained per LIF-1 (DWF-2 soft-delete); each open-state message also writes an Activity (DM-51, DM-53). Message listed under others (DeliveryState draft → sent → delivered → read). Rides the new Communications process (SPEC-PWF-COM). Cascades from SPEC-PRD SAL-9 / SPEC-ERD DM-53 · DM-54 / SPEC-APP-PIP PIP-15.
RiverSync Co., Ltd. · BangkokSPEC-DWF-SAL · 1 of 1